| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | /* |
||
| 52 | export default class ExtendedMarkdown extends Plugin { |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @inheritDoc |
||
| 56 | */ |
||
| 57 | constructor( editor ) { |
||
| 58 | super( editor ); |
||
| 59 | |||
| 60 | editor.data.processor = new GFMDataProcessor( editor.data.viewDocument ); |
||
| 61 | for (const tag of ALLOWED_TAGS) { |
||
| 62 | editor.data.processor.keepHtml(tag); |
||
| 63 | } |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @inheritDoc |
||
| 68 | */ |
||
| 69 | static get pluginName() { |
||
| 70 | return 'Markdown'; |
||
| 71 | } |
||
| 72 | } |
||
| 73 |